import request from "@/utils/request";

// 查询进件归档资料列表
export function listBizJinjianCheckFiles(query) {
  return request({
    url: "/biz/bizJinjianCheckFiles/list",
    method: "get",
    params: query,
  });
}

// 查询进件归档资料详细
export function getBizJinjianCheckFiles(id) {
  return request({
    url: "/biz/bizJinjianCheckFiles/" + id,
    method: "get",
  });
}

// 新增进件归档资料
export function addBizJinjianCheckFiles(data) {
  return request({
    url: "/biz/bizJinjianCheckFiles",
    method: "post",
    data: data,
  });
}

// 修改进件归档资料
export function updateBizJinjianCheckFiles(data) {
  return request({
    url: "/biz/bizJinjianCheckFiles",
    method: "put",
    data: data,
  });
}

// 删除进件归档资料
export function delBizJinjianCheckFiles(id) {
  return request({
    url: "/biz/bizJinjianCheckFiles/" + id,
    method: "delete",
  });
}

// 查询最大编号
export function findMaxSort() {
  return request({
    url: "/biz/bizJinjianCheckFiles/findMaxSort",
    method: "get",
  });
}
// 导出进件归档资料
export function exportBizJinjianCheckFiles(query) {
  return request({
    url: "/biz/bizJinjianCheckFiles/export",
    method: "get",
    params: query,
  });
}
